package com.ctsi.hsph.spi.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * 对应用户信息的DTO类
 */
@Data
@ApiModel(description = "用户信息")
public class PingshuUserDTO {

    @ApiModelProperty(value = "用户ID", required = true)
    private String userId;

    @ApiModelProperty(value = "用户名", required = true)
    private String username;

    @ApiModelProperty(value = "手机号", required = true)
    private String mobile;

    @ApiModelProperty(value = "是否是根用户，1是，0否", required = true)
    private int isRoot;

    @ApiModelProperty(value = "用户状态，1正常，0禁用", required = true)
    private int status;

    @ApiModelProperty(value = "用户职位列表", required = true)
    private List<PingshuUserSubPositionDTO> positions;
}